﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MathTest
{
    public partial class FormResult : Form
    {
        public FormResult(int correctCount, int totalCount, int timeCount)
        {
            InitializeComponent();
            Score.Text = 100 * correctCount / totalCount + "分";
            timeResult.Text = timeCount + "秒";
        }

        private void backToTest_Click(object sender, EventArgs e)
        {
            FormTest formTest = new FormTest();
            formTest.Show();
            this.Hide();
        }

        private void exit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
